package com.it.service;

import com.it.VO.CommentVo;
import com.it.common.Result;
import com.it.domain.Comment;

import java.util.List;

public interface CommentService {

    Result SaveComment(Comment comment);

    List<CommentVo> getMainComment(Integer commType,Integer commTargetId);

    public Integer DeleteComment(Comment comment);

    public Integer DeleteRootComment(Comment comment);

    public List<Comment> SelectByParentId(Comment comment);

    public List<Comment> SelectRootId(Integer rootId,Integer commTargetId,Integer commType);
}
